<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/accountAystem/addpage.css" />
    <title>账号创建</title>
    <style>

    </style>
    <!--地址添加样式-->
    <link rel="stylesheet" href="../../../ht-css/replaceAddress/addAddress.css">
    <title>正常商品池</title>
</head>

<body data-id="">
    <style>
        label.error {
            right: auto;
            width: 150px;
            left: 0;
            top: 0;
            position: relative;
        }

        table.datatablesss thead .sorting {
            background: none;
        }

        table.datatablesss thead .sorting_asc {
            background: none;
        }
    </style>
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>会员管理<span
            class="c-gray en">&gt;</span>客户组管理</nav>
    <article class="page-container">
        <div id="tab_topnav" class="HuiTab">
            <div class="tabBar clearfix">
                <span onclick="qiehuan(1)">正常商品池规则</span>
                <span onclick="qiehuan(2)">指定正常商品</span>
                <span onclick="qiehuan(3)">屏蔽正常商品</span>
                <!--<span onclick="qiehuan(4)">正常商品池-列表</span>-->
            </div>
            <!--正常商品池规则-->
            <div class="tabCon bk-gray bg-1" style="display: none; height: 1000px;">
                <div class="lh-30 mb-10 ml-20 mt-20">
                    <div class="clearfix mb-15 skin-minimal" id="applRange">
                        <label class="f-l pt-5"><span class="c-red pr-5 f-l">*</span>品类：</label>
                        <div class="clearfix mb-15l" style="padding-left:88px;">
                            <div class="clearfix mb-15 skin-minimal" style="padding-left:-80px;" id="applCate">
                                <label class="f-l pt-5"></label>
                                <div class="radio-box f-l mt-5">

                                    <input type="radio" id="radio-7" name="applCate" value="10">

                                    <label for="radio-7">适用选择品类</label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <input type="radio" id="radio-8" name="applCate" value="20">

                                    <label for="radio-7">排除选择品类</label>
                                </div>

                            </div>

                            <div class="clearfix pb-20" id="cateLevel">
                                <div class="class-wp27 f-l">
                                    <div class="pd-5"><strong>一级品类名称</strong><a class="ml-10" id="selectAll">全选</a><a
                                            class="ml-10" onclick="resetClassification(1)">重置</a></div>
                                    <ul class="bk-gray pt-5" id="classSet1"></ul>
                                </div>
                                <div class="class-wp27 f-l" style="display: none" id="classDiv2">
                                    <div class="pd-5"><strong>二级品类名称</strong><a class="ml-10"
                                            onclick="resetClassification(2)">重置</a></div>
                                    <ul class="bk-gray pt-5" id="classSet2" style="height: 331px;"></ul>
                                </div>
                                <div class="class-wp27 f-l" style="display: none;margin-top: 5px;" id="classDiv3">
                                    <div class="pb-5"><strong>三级品类名称</strong><a class="ml-10"
                                            onclick="resetClassification(3)">重置</a></div>
                                    <ul class="bk-gray pt-5" id="classSet3" style="height: 331px;"></ul>
                                </div>
                                <div class="class-wp27 f-l" style="display: none;margin-top: 5px;width:19%;" id="classDiv4">
                                    <div class="pb-5"><strong>四级品类名称</strong></div>
                                    <ul class="bk-gray pt-5" id="classSet4" style="height: 331px;"></ul>
                                </div>
                            </div>

                        </div>

                        <div class="line"></div>
                        <div class="pd-20">

                            <div class="clearfix mb-15 skin-minimal" id="brand">
                                <label class="f-l pt-5"><span class="c-red pr-5 f-l">*</span>品牌：</label>
                                <div class="check-box f-l mt-5">
                                    <input type="radio" id="box-1" name="brand" value="10">
                                    <label for="box-1" class="">不限</label>
                                </div>
                                <div class="check-box  mt-5 pl-30">
                                    <input type="radio" id="box-2" name="brand" value="20">
                                    <label for="box-2" class="">适用选择品牌</label>
                                </div>
                                <div class="check-box  mt-5 pl-30">
                                    <input type="radio" id="box-3" name="brand" value="30">
                                    <label for="box-3" class="">排除选择品牌</label>
                                </div>


                                <div class="clearfix mb-15"
                                    style="vertical-align: middle;line-height: 27px;width: 500px">

                                    <div id="append" class="ml-15 f-l">

                                    </div>

                                    <div class="ml-15 f-l">

                                        <a id="aclick" onclick="selectBrand()"
                                            class="btn btn-secondary radius size-S botter">+</a>

                                    </div>

                                    <div id="selectInp" class="ml-15 f-l" style="display:none;">
                                        <div style="position: relative" class="f-l">
                                            <input type="text" class="input-text radius" name="moli" autocomplete="off"
                                                onfocus="myFunction()" onclick="myFunction()" placeholder=""
                                                oninput="myFunction()" id="username">
                                            <ul class="relation radius guanlian" id="tuan">
                                                <li style='padding: initial;width: 130px;'>无数据</li>
                                            </ul>
                                        </div>
                                        <a class="pd-5 f-l ml-10" onclick="brand_sure()">确定</a>
                                        <a class="pd-5 f-l" onclick="brand_cancel()">取消</a>
                                    </div>

                                </div>

                            </div>

                        </div>
                        <div class="clearfix mb-15 skin-minimal" >
                            <label class="f-l pt-5"><span class="c-red pr-5 f-l">*</span>是否展示限制类商品：</label>
                            <div class="check-box f-l mt-5">
                                <input type="radio" id="showRestricted1" checked="checked"  name="showRestricted" value="0">
                                <label for="box-1" class="">展示</label>
                            </div>
                            <div class="check-box  mt-5 pl-30">
                                <input type="radio" id="showRestricted2"  name="showRestricted" value="1">
                                <label for="box-2" class="">不展示</label>
                            </div>

                        </div>

                        <div class="clearfix mb-15 skin-minimal" hidden="hidden">
                            <label class="f-l pt-5"><span class="c-red pr-5 f-l">*</span>商品池外商品展示规则：</label>
                            <div class="check-box f-l mt-5">
                                <input type="radio" id="showShieldProduct1" name="showShieldProduct" value="0">
                                <label for="box-1" class="">展示</label>
                            </div>
                            <div class="check-box  mt-5 pl-30">
                                <input type="radio" id="showShieldProduct2" checked="checked" name="showShieldProduct" value="1">
                                <label for="box-2" class="">不展示</label>
                            </div>

                        </div>

                        <div style="text-align: center;">
                            <input class="btn btn-secondary radius size-S" style="width: 85px;"
                                onclick="preservationLists()" type="button" value="保存">
                            <input class="btn  radius size-S ml-60" style="width: 85px;display: none" id="disable"
                                onclick="disable()" type="button" value="禁用">

                        </div>
                    </div>

                </div>
            </div>
            <!--指定正常商品-->
            <div class="tabCon bk-gray bg-1" style="display: none;height: 1000px;">
                <div class="lh-30 pd-20">
                    <table>
                        <tbody>
                            <tr>
                                <td class="col-5-4">

                                    <label class="ml-10">SPU编码：</label>
                                    <input class="input-text radius w-100 ww" type="text" id="spuCode"
                                        placeholder="请输入SPU编码" style="padding-left: 10px;">
                                    <label class="ml-10">Code码：</label>
                                    <input class="input-text radius w-100 ww" type="text" id="skuCode"
                                        placeholder="请输入Code码" style="padding-left: 10px;">
                                    <label class="ml-10">商品名称：</label>
                                    <input class="input-text radius w-100 ww" type="text" id="spuName"
                                        placeholder="请输入商品名称" style="padding-left: 10px;">

                                    <input type="button" class="btn  size-M ml-10 radius "
                                        style="background-color: #0e90d2;color: #edfbfb ;width: 80px;"
                                        onclick="designatedCommodity()" value="查询">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div>
                    <a onclick="downloadTemplate()" class="btn btn-secondary radius size-S ml-10" href=""
                        id="downloadTemplate">下载excel模板</a>
                    <input onclick="batchAdding()" class="btn btn-secondary radius size-S ml-10" type="button"
                        value="批量新增">

                    <a onclick="downloaderrorvalue()" class="ml-10" href="" id="downloaderrorvalue">失败信息下载</a>
                    <input id="batchAdding" type="file" onchange="batchAddingports()" style="display: none">
                </div>
                <table class="table table-border table-bg table-hover table-sort mt-10 datatablesss"
                    id="designateddatatable">
                    <thead>
                        <tr class="text-c">
                            <th style="width:180px;"><input type="checkbox" onclick="stoprop()" value="spu_all"
                                    id="spu_all1">SPU编码</th>
                            <th>商品名称</th>
                            <th>SKU编码</th>
                            <th>操作人</th>
                            <th>操作时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody class="shun">
                    </tbody>
                </table>
                <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                    <div class="f-r pageturning M-box3"></div>
                </div>
                <div>
                    <input class="btn btn-secondary radius size-S ml-10" onclick="batchdelete()" type="button"
                        value="批量删除">
                        <input class="btn btn-secondary radius size-S ml-10" onclick="batchalldelete()" type="button" value="全部删除">
                </div>
            </div>

            <!--屏蔽正常商品-->
            <div class="tabCon bk-gray bg-1" style="display: none;height: 1000px;">
                <div class="lh-30 pd-20">
                    <table>
                        <tbody>
                            <tr>
                                <td class="col-5-4">

                                    <label class="ml-10">SPU编码：</label>
                                    <input class="input-text radius w-100 ww" type="text" name="spuCode"
                                        placeholder="请输入SPU编码" style="padding-left: 10px;">
                                    <label class="ml-10">Code码：</label>
                                    <input class="input-text radius w-100 ww" type="text" name="skuCode"
                                        placeholder="请输入Code码" style="padding-left: 10px;">
                                    <label class="ml-10">商品名称：</label>
                                    <input class="input-text radius w-100 ww" type="text" name="skuName"
                                        placeholder="请输入商品名称" style="padding-left: 10px;">
                                    <input type="button" class="btn  size-M ml-10 radius "
                                        style="background-color: #0e90d2;color: #edfbfb ;width: 80px;"
                                        onclick="productShieldRulePageList()" value="查询">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div>
                    <a onclick="shieldDownloadTemplate()" class="btn btn-secondary radius size-S ml-10" href=""
                        id="shieldDownloadTemplate">下载excel模板</a>
                    <input onclick="shieldBatchAdding()" class="btn btn-secondary radius size-S ml-10" type="button"
                        value="批量新增">

                    <a onclick="shieldDownloaderrorvalue()" class="ml-10" href=""
                        id="shieldDownloaderrorvalue">失败信息下载</a>
                    <input id="shieldBatchAdding" type="file" onchange="shieldBatchAddingports()" style="display: none">
                </div>
                <table class="table table-border table-bg table-hover table-sort mt-10 datatablesss"
                    id="productShieldRule_dataTable">
                    <thead>
                        <tr class="text-c">
                            <th style="width:180px;"><input type="checkbox" id="shield_Spu_all">SPU编码</th>
                            <th>商品名称</th>
                            <th>SKU编码</th>
                            <th>操作人</th>
                            <th>操作时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody class="shun" id="shield_Shun">
                    </tbody>
                </table>
                <div class="dataTables_wrapper_shield goods_fanye clearfix mt-5">
                    <div class="f-r pageturning M-box3_Shield"></div>
                </div>
                <div>
                    <input class="btn btn-secondary radius size-S ml-10" onclick="shieldBatchdelete()" type="button"
                        value="批量删除">
                        <input class="btn btn-secondary radius size-S ml-10" onclick="shieldBatchalldelete()" type="button" value="全部删除">
                </div>
            </div>

            <!--正常商品池-列表-->
           <!-- <div class="tabCon bk-gray bg-1" style="display: block;height: 1000px;">
                <form class="lh-20 pd-10 classForm" name="">
                    <table class="table_li mb-10 table">
                        <thead class="text-l">
                        <tr>
                            <td colspan="3" class="col-1-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l w-75 text-r lh-26">品类名称：</label>
                                    <span class="size-M radius col-xs-8 f-l" style="width:20%">
                                       <div style="position: relative;z-index: 900;">
                                            <input type="text" autocomplete="off" class="input-text radius"
                                                   name="class1" placeholder="请选择一级品类" oninput="goods_listCategory(1)"
                                                   id="class1" datatype="*0-20" errormsg="格式错误，请重新输入" ignore="ignore">
                                            <ul class="relation radius guanlian" id="classUl1">

                                                </ul>
                                            </div>
                                            <span class="Validform_checktip"></span>
                                        </span>
                                        <span class="f-l pl-10 pr-10 pt-5">~</span>
                                        <span class="size-M radius col-xs-8 f-l" style="width:20%">
                                            <div style="position: relative;z-index: 900;">
                                                <input type="text" autocomplete="off" class="input-text radius"
                                                    name="class2" placeholder="请选择二级分类" id="class2" datatype="*0-20"
                                                    errormsg="格式错误，请重新输入" ignore="ignore">
                                                <ul class="relation radius guanlian" id="classUl2">
                                                </ul>
                                            </div>
                                            <span class="Validform_checktip"></span>
                                        </span>
                                        <span class="f-l pl-10 pr-10 pt-5">~</span>
                                        <span class="size-M radius col-xs-8" style="width:20%">
                                            <div style="position: relative;z-index: 900;">
                                                <input type="text" autocomplete="off" class="input-text radius"
                                                    name="class3" placeholder="请选择三级分类" id="class3" datatype="*0-20"
                                                    errormsg="格式错误，请重新输入" ignore="ignore">
                                                <ul class="relation radius guanlian" id="classUl3">
                                                </ul>
                                            </div>
                                            <span class="Validform_checktip"></span>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l w-75 text-r lh-26">SPU码：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" name="spu_code"
                                                id="spu_code" placeholder="输入SPU码" datatype="n0-11"
                                                errormsg="格式错误，请重新输入" ignore="ignore">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </span>
                                    <span class="f-l pl-10 pr-10 pt-5">~</span>
                                    <span class="size-M radius col-xs-8 f-l" style="width:20%">
                                        <div style="position: relative;z-index: 900;">
                                            <input type="text" autocomplete="off" class="input-text radius"
                                                   name="class2" placeholder="请选择二级品类" id="class2" datatype="*0-20"
                                                   errormsg="格式错误，请重新输入" ignore="ignore">
                                            <ul class="relation radius guanlian" id="classUl2">
                                            </ul>
                                    </div>
                                </td>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l text-r w-55" style="width: 60px;">集团状态：</label>
                                        <div class="formControls col-sm-8 pos-r">
                                            <select class="select radius f-l ml-10"
                                                style="width:82%; height: 27px;margin-top: -4px;margin-left: 1px;"
                                                id="proUseable">
                                                <option selected value="">请选择</option>
                                                <option value="0">启用</option>
                                                <option value="1">禁用</option>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                                <td style="width:30%">
                                    <div class="row ml-10">
                                        <label class="form-label f-l w-75 text-r lh-26">Code码：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-150" name="Code"
                                                id="Code" placeholder="输入Code码" datatype="*0-15" errormsg="格式错误，请重新输入"
                                                ignore="ignore">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </span>
                                    <span class="f-l pl-10 pr-10 pt-5">~</span>
                                    <span class="size-M radius col-xs-8" style="width:20%">
                                        <div style="position: relative;z-index: 900;">
                                            <input type="text" autocomplete="off" class="input-text radius"
                                                   name="class3" placeholder="请选择三级品类" id="class3" datatype="*0-20"
                                                   errormsg="格式错误，请重新输入" ignore="ignore">
                                            <ul class="relation radius guanlian" id="classUl3">
                                            </ul>
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l text-r w-75 lh-26">商品名称：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" name="goodsName"
                                                id="goodsName" placeholder="输入商品名称关键字" datatype="*0-30"
                                                errormsg="格式错误，请重新输入" ignore="ignore">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </span>
                                    <span class="f-l pl-10 pr-10 pt-5">~</span>
                                    <span class="size-M radius col-xs-8" style="width:20%">
                                        <div style="position: relative;z-index: 900;">
                                            <input type="text" autocomplete="off" class="input-text radius"
                                                   name="class3" placeholder="请选择四级品类" id="class4" datatype="*0-20"
                                                   errormsg="格式错误，请重新输入" ignore="ignore">
                                            <ul class="relation radius guanlian" id="classUl4">
                                            </ul>
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-4-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l w-75 text-r lh-26">SPU码：</label>
                                    <div class="formControls f-l">
                                        <input type="text" class="input-text radius ml-10 w-180" name="spu_code" id="spu_code"
                                               placeholder="输入SPU码" datatype="n0-11" errormsg="格式错误，请重新输入"
                                               ignore="ignore">
                                    </div>
                                </td>
                                <td class="col-4-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-60 lh-26 pl-25">商品别名：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" name="aliasParam"
                                                id="aliasParam" placeholder="输入商品别名关键字"
                                                datatype="/^[a-zA-Z0-9\u4e00-\u9fa5]{0,15}$/" errormsg="格式错误，请重新输入"
                                                ignore="ignore">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td style="width:30%">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-75 lh-26 pl-25">是否限制类：</label>
                                        <select class="select radius ml-10 f-l" style="width:33%;height:27px;"
                                            id="isLimitCategory" name="isLimitCategory" size="1">
                                            <option value="" selected>-&#45;&#45;请选择-&#45;&#45;</option>
                                            <option value="0">非限制类</option>
                                            <option value="1">危化品</option>
                                            <option value="2">管制刀具</option>
                                        </select>
                                    </div>
                                </td>


                            </tr>
                            <tr>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l text-r w-75 lh-26">助记码：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" name="helpcode"
                                                id="helpcode" placeholder="输入助记码" datatype="/^[^\u4e00-\u9fa5]{0,50}$/"
                                                errormsg="格式错误，请重新输入" ignore="ignore">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-4-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-60 lh-26 pl-25">商品标准：</label>
                                        <select class="select radius ml-10 f-l" style="width:45%;height:27px;"
                                            id="spuStandards" name="spuStandards" size="1">
                                            <option value="">-&#45;&#45;请选择-&#45;&#45;</option>
                                            <option value="1">国标有标准号</option>
                                            <option value="2">国标</option>
                                            <option value="3">无标准有下差</option>
                                            <option value="4">无标准无下差</option>
                                            <option value="5">其它</option>
                                        </select>
                                    </div>
                                </td>
                                <td style="width:30%">
                                    <div class="row ml-10" align="left">
                                        <label class="form-label f-l text-r w-85 lh-26"
                                            style="margin-left: -10px;">客户类型可见：</label>
                                        <div class="formControls f-l ml-10 lh-26">
                                            <label><input type="checkbox" value="2"
                                                    name="customerType" />普通客户&nbsp;&nbsp;</label>
                                            <label><input type="checkbox" value="1" name="customerType" />签约客户</label>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-4-1">
                                    <div class="row ml-10">
                                        <label class="form-label f-l w-75 text-r lh-26">品牌：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" name="brandName"
                                                id="brandName" placeholder="输入品牌关键字"
                                                datatype="/^[a-zA-Z0-9\u4e00-\u9fa5]{0,15}$/" errormsg="格式错误，请重新输入"
                                                ignore="ignore" />
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-4-1">
                                    <div class="row ml-10" align="left">
                                        <label class="form-label f-l text-r w-60 lh-26">创建时间：</label>
                                        <div class="formControls f-l">
                                            <input class="workinput wicon input-text radius ml-10"
                                                id="creationDateBegin" type="text" placeholder="起始时间"
                                                style="width:81px;" readonly>
                                            ~
                                            <input class="workinput wicon input-text radius" id="creationDateEnd"
                                                type="text" placeholder="结束时间" style="width:81px;" readonly>
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td style="width:30%">
                                    <div class="row ml-10" align="left">
                                        <label class="form-label f-l text-r w-60 lh-26 pl-15">商品区域：</label>
                                        <div class="formControls f-l ml-10 lh-26" style="width: 274px;">
                                            <label><input type="checkbox" checked="checked" onclick="goodselection()"
                                                    id="saleAreas" />全选&nbsp;&nbsp;</label>
                                            <label><input type="checkbox" value="1" checked="checked"
                                                    onclick="goodselectionall()"
                                                    name="saleArea" />集团&nbsp;&nbsp;</label>
                                            <span id="goodsss"></span>
                                        </div>
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td style="width:30%">
                                    <div class="row ml-10">
                                        <label class="form-label f-l lh-26 w-75 text-r">商品类型：</label>
                                        <select class="select radius ml-10 f-l specialTypeId"
                                            style="width:40%;height:30px;" name="saleStatus" size="1">

                                        </select>
                                    </div>
                                </td>

                            </tr>
                        </thead>
                    </table>
                    <div class="text-c pb-20 pt-10">
                        <input type="button" onclick="reloadSpuTable()" class="btn btn-secondary radius size-S "
                            value="查&nbsp;&nbsp;询">
                        <input name="form1" type="reset" onclick="resetDiv()" class="btn radius size-S ml-10 "
                            value="重&nbsp;&nbsp;置">
                    </div>
                </form>
                <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                    <thead>
                        <tr class="text-c">
                            <th width="80">SPU码</th>
                            <th width="80">图片</th>
                            <th width="100">商品名称</th>
                            <th width="105">副标题</th>
                            <th width="50">品牌</th>
                            <th width="60">SKU数量</th>
                            <th width="100">商品区域</th>
                            <th width="50">创建时间</th>
                        </tr>
                    </thead>
                    <tbody class="shun">

                    </tbody>
                </table>
                <div class="dataTables_wrapper goods_fanye clearfix mt-10">
                    <div class="f-r pageturning M-box3"></div>
                </div>
            </div>-->


        </div>





    </article>

    <!--_footer 作为公共模版分离出去-->
    <script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
    <!--/_footer 作为公共模版分离出去-->
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
    <!--表单验证-->
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
    <script src="../../../ht-js/public.js?rev=@@hash"></script>
    <!--验证token-->
    <script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
    <!--引入分页-->
    <link rel="stylesheet" href="../../../lib/pagination/pagination.css">
    <script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
    <!--权限控制-->
    <script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
    <script src="../../../ht-js/dynamicWarehouse.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
    <!--时间组件-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/jedate.css" />
    <script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
    <script src="../../../ht-js/Customer/accountAystem/normalCommodity.js?rev=@@hash"></script>
    <script src="../../../ht-js/Customer/accountAystem/normalCommodity-list.js?rev=@@hash"></script>
    <script>

        jQuery.Huitab = function (tabBar, tabCon, class_name, tabEvent, i) {
            var $tab_menu = $(tabBar);
            // 初始化操作
            $tab_menu.removeClass(class_name);
            $(tabBar).eq(i).addClass(class_name);
            $(tabCon).hide();
            $(tabCon).eq(i).show();

            $tab_menu.bind(tabEvent, function () {
                $tab_menu.removeClass(class_name);
                $(this).addClass(class_name);
                var index = $tab_menu.index(this);
                $(tabCon).hide();
                $(tabCon).eq(index).show()
                if (!$(".tabBar span:eq(0)").hasClass("current")) {
                    $("#modal-company").hide()
                }
            })
        }

        $(function () {
            $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
        });


        function chaxun() {
            $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "2")
            accountrelationship()
        }

        function qiehuan(val) {
            if (val == 1) {
                $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
                /*accountquery()*/
            } else if (val == 2) {
                $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "1")
                $(".dataTables_wrapper").css({
                    display: "none"
                });
                designatedCommodity()
            } else if (val == 3) {
                $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "2")
                // $(".dataTables_wrapper_shield").html('');
                productShieldRulePageList();

            } else if (val == 4) {
                $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "3")
                reloadSpuTable()
            }
        }



        /*时间设置*/
        function timeSet(startEl, endEl, timeFormat) {
            /*startEl=>开始时间Input的id，endEl=>结束时间Input的id，时间格式（YYYY-MM-DD hh:mm:ss  YYYY年MM月DD日 hh:mm:ss）*/
            /*时间设置*/
            var thisMaxTime = $.nowDate().substring(0, $.nowDate().length - 8) + "23:59:59";
            var start = {
                format: timeFormat,
                maxDate: thisMaxTime,
                okfun: function (obj) {
                    end.minDate = obj.val.substring(0, obj.val.length - 5) + "00:00:00"; //开始日选好后，重置结束日的最小日期
                }
            };
            var end = {
                format: timeFormat,
                maxDate: thisMaxTime,
                okfun: function (obj) {
                    start.maxDate = obj.val.substring(0, obj.val.length - 5) + "23:59:59"; //将结束日的初始值设定为开始日的最大日期
                }
            };
            $.jeDate(startEl, start);
            $.jeDate(endEl, end);
        }
        timeSet("#creationDateBegin", "#creationDateEnd", "YYYY-MM-DD hh:mm:ss");

    </script>
</body>

</html>